#include "Generate.h"


void Generate::constructState(IDirect3DDevice9* m_pD3DDevice)
{
	m_baseState->Create(m_pD3DDevice);
	m_baseState->Render();
	m_baseState->Update();
}

void Generate::deconstructState()
{
	m_baseState->Destroy();
}

GameState* Generate::getGameState()
{
	return m_baseState->getState();
}

void Generate::setBaseState(BaseState* bs)
{
	m_baseState = bs;
}
